<?php slot('homeNav', 'active') ?>

<div id="wrapper" class="register">
	<?php include_partial('global/systemMessages', array('form' => $form)) ?>

	<div id="content">
		<h1>Reset your password</h1>
		<form class="register-form" action="<?php echo url_for('password_resets/reset') ?>" method="post">
			<fieldset>
				<?php echo $form['rid']->render(array('value' => $form->getDefault('password_change[rid]'))) ?>
				<?php echo $form['token']->render(array('value' => $form->getDefault('password_change[token]'))) ?>
				<label>New Password</label>
				<?php echo $form['password']->render(array('class' => 'input-password')) ?>
				<br>
				<label>Confirm New Password</label>
				<?php echo $form['confirm_password']->render(array('class' => 'input-password')) ?>
			</fieldset>
			<fieldset class="controls">
				<button class="btn_send-password" type="submit">Reset Password</button>
				<p class="vertical-centered"><a href="<?php echo url_for('users/login') ?>">Just kidding, I know my password.</a></p>
			</fieldset>
		</form>
	</div>
	
</div>